/*
 * Copyright (c) 2016 zhangcm. All Rights Reserved.
 */
package com.jnzc.ocr.rest.app.shop.param.app;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * @author zhangcm
 * @version 1.0, 2017/9/16
 */
@ApiModel(description = "会员保存参数")
public class AppMemberSaveParam {

    @ApiModelProperty(value = "ID")
    private Long id;
    @ApiModelProperty(value = "名称", required = true, allowableValues = "range[0, 20]")
    private String name;
    @ApiModelProperty(value = "获取方式", required = true)
    private Integer accessType;
    @ApiModelProperty(value = "会员分类ID", required = true)
    private Long memberCategoryId;
    @ApiModelProperty(value = "联系方式", allowableValues = "range[0, 20]")
    private String contactWay;
    @ApiModelProperty(value = "生日")
    private Date birthday;
    @ApiModelProperty(value = "积分")
    private Integer point;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAccessType() {
        return accessType;
    }

    public void setAccessType(Integer accessType) {
        this.accessType = accessType;
    }

    public Long getMemberCategoryId() {
        return memberCategoryId;
    }

    public void setMemberCategoryId(Long memberCategoryId) {
        this.memberCategoryId = memberCategoryId;
    }

    public String getContactWay() {
        return contactWay;
    }

    public void setContactWay(String contactWay) {
        this.contactWay = contactWay;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public Integer getPoint() {
        return point;
    }

    public void setPoint(Integer point) {
        this.point = point;
    }
}
